package com.example.task.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import static com.baomidou.mybatisplus.enums.IdType.AUTO;

/**
 * @author sunny
 * 营业额
 */
@Data
@TableName("turnover")
public class Turnover {
    @TableId(value = "id", type=AUTO)
    private int id;

    @TableField("day_time")
    private String dayTime;

    @TableField("turnover_amount")
    private int turnoverAmount;
}
